body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 100px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #222;
}

div {
    box-sizing: border-box;
}


/*-----头像布局-----*/
.a {
    width: 100%;
    height: 100px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}

.b {
    width: 20%;
    height: 100px;
    /* background-color: aqua; */
    text-align: center;
    align-items: center;
    float: left;
    position: relative;
    /* display: inline-block; */
}

.b a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    /* 侧轴居中对齐 因为是单行 */
    align-items: center;
    font-size: 13px;
}

.b a img {
    height: 60px;
    height: 60px;
    margin-top: 20px;
    border-radius: 50%;

}

#fileInput {
    position: absolute;
    left: 10px;
    opacity: 0;
    width: 100px;
    /* 根据头像大小调整 */
    height: 100px;
    /* 根据头像大小调整 */
    cursor: pointer;
}

.c {
    width: 80%;
    height: 40px;
    /* background-color: aquamarine; */
    float: left;
}

.c1 {
    width: 30%;
    height: 40px;
    float: left;
}

.c1 p {
    font-size: 20px;
    margin: 0;
    margin-top: 5px;
    margin-left: 10px;
}


.c2 {
    width: 50%;
    height: 40px;
    float: left;
}

.c2 img {
    margin-top: 8px;
    width: 70px;
    height: 25px;
}

.d {
    width: 80%;
    height: 30px;
    /* background-color: blanchedalmond; */
    float: left;
}

.d1 {
    width: 20%;
    height: 30px;
    float: left;
}

.d2 {
    width: 60%;
    height: 30px;
    float: left;
    text-align: right;
}

.d p {
    font-size: 15px;
    margin: 0;
}

.d1 p {
    padding-left: 15%;
    padding-right: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
    font-size: 15px;
    margin: 0;
    margin-left: 10px;
    color: white;
    font-family: "华文琥珀";
    background-color: rgb(251, 94, 144);
    border-radius: 20px;
}

.space {
    color: #666;
    font-size: 18px;
    margin-right: 0px;
}

.d img {
    width: 20px;
    height: 20px;
    right: 10px;
}

.e {
    width: 80%;
    height: 30px;
    /* background-color: blue; */
    float: left;
}

.e p {
    font-size: 13px;
    margin: 0;
    margin-left: 10px;
    color: #666
}

.headline {
    font-style: italic;
    text-align: left;
}

/* 设置整体文章容器的样式 */
article {
    width: 80%;
    margin: auto;
    padding: 0px;
}

/*-------局部导航-------*/
.nav {
    display: flex;
    margin: 10px 0;
}

.nav li {
    flex: 1;
}

.nav a {
    display: flex;
    flex-direction: column;
    /* 侧轴居中对齐 因为是单行 */
    align-items: center;
    font-size: 13px;
}

.nav img {
    width: 40px;
}

/* 设置标题框的样式 */
.titbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f2f2f2;
    margin-bottom: 20px;
    /* float: left; */
}

.titbox img {
    height: 50px;
}

/* 设置课程列表项的样式 */
.ul_2 {
    list-style-type: none;
    padding: 0;
}

.ul_2 li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    /* border-bottom: 1px solid #ddd; */
}

.ul_2 li:last-child {
    border-bottom: none;
}

.ul_2 li img {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

.R {
    flex-grow: 1;
}

.R .tit {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.R2 {
    padding: 10px;
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
    background-color: rgb(249, 200, 208);
    border-radius: 10px;
}

.R2.tit {
    font-size: 15px;
    font-weight: bold;
    align-items: center;
    margin-bottom: 5px;
}

.R2 .sub {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.R .sub {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.R .sub2 {
    font-size: 14px;
    color: #201f1f;
    margin-bottom: 10px;
    align-items: center;
}

.ul_3 {
    list-style-type: none;
    padding: 0;
}

.ul_3 li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.ul_3 li:last-child {
    border-bottom: none;
}

.ul_3 li img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.R3 {
    flex-grow: 1;
}

.R3 .tit {
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 5px;
}

.go {
    width: 20px;
    height: 20px;
    right: 10px;
}





/*-----底部------*/
footer {
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    width: 100%;

}

.navi {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.nav-item {
    text-align: center;
    font-size: 14px;
    color: #333;
    flex: 1;
    cursor: pointer;
}

.nav-item.active {
    color: #ff4081;
}


footer a {
    text-decoration: none;
    font-size: 13px;
    color: black;
    padding: 0;
}

footer img {
    width: 35px;
    height: 35px;
}